package com.web.dao;

import com.entity.Activitytype;
import com.page.PageInfo;

import java.util.List;

public interface ActivitytypeDao {
    public List<Activitytype> getAll() throws Exception;
    public Activitytype selectByPrimaryKey(int atid) throws Exception;
    public List<Activitytype> getActivitytypesByPage(PageInfo pageInfo) throws Exception ;
    public int add(Activitytype activitytype) throws Exception;
    public int update(Activitytype activitytype) throws Exception;
}
